.TH std::swap(std::basic_stringstream) 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::swap(std::basic_stringstream) \- std::swap(std::basic_stringstream)

.SH Synopsis
   Defined in header <sstream>
   template< class CharT, class Traits, class Alloc >

   void swap( std::basic_stringstream<CharT,Traits,Alloc>& lhs,    \fI(since C++11)\fP

              std::basic_stringstream<CharT,Traits,Alloc>& rhs );

   Overloads the std::swap algorithm for std::basic_stringstream. Exchanges the state
   of lhs with that of rhs. Effectively calls lhs.swap(rhs).

.SH Parameters

   lhs, rhs - streams whose state to swap

.SH Return value

   \fI(none)\fP

.SH Exceptions

   May throw implementation-defined exceptions.

.SH Example

    This section is incomplete
    Reason: no example

.SH See also

   swap    swaps two string streams
   \fI(C++11)\fP \fI(public member function)\fP

.SH Category:
     * Todo no example
